package tomoto.util;

/**
 * Mutable holder of integer.
 * 
 * @author Tomoto Shimizu Washio
 * 
 */
public class IntHolder {
	/**
	 * mutable field to hold the value.
	 */
	public int value;

	/**
	 * Creates an instance with the specified value held.
	 * 
	 * @param value int value to hold
	 */
	public IntHolder(int value) {
		this.value = value;
	}

	/**
	 * Creates an instance initialized by zero.
	 */
	public IntHolder() {
		this(0);
	}
}
